.module {
  height: 100%;
  background-color: #eee;

  display: flex;
  flex-direction: row;

  :global {
    .tp-layout-sider-children {
      overflow: hidden;
    }
  }

  $sider-width: 200px;

  .sider,
  .content {
    height: auto;
    background-color: #fff;
  }

  .sider {
    flex: 0 0 $sider-width;
    width: $sider-width;
    overflow: hidden;
    background-color: #fff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;

    &.collapsed {
      flex: 0 0 0;
      width: 0;
      padding: 0;
    }

    .logo {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      padding: 4px 8px;
      box-sizing: border-box;
      font-size: 20px;
      font-weight: bolder;
      :first-child {
        margin-right: 10px;
      }
    }
    .search {
      width: 100%;
      box-sizing: border-box;
      padding: 0px 8px;
    }
    @media screen and (max-width: 576px) {
    }

    .menu {
      flex: 1 1 auto;
      height: auto;
      overflow-y: auto;

      .item {
        &.itemActive {
          color: #fff;
          background: var(--q-secondary);
        }

        .itemSection {
          .label {
            width: 100%;
            :not(:last-child) {
              margin-right: 5px;
            }
          }
        }
      }
    }
  }

  .collapseBtn {
    flex: 0 0 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    cursor: pointer;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);

    &:hover {
      background: #fafafa;
    }
  }

  .content {
    flex: 1;
    background-color: #fff;
    margin-left: 1px;
    overflow-y: auto;
    position: relative;
    padding: 20px;
    box-sizing: border-box;
    // width: calc(100% - $sider-width - $margin);
  }
}
